package com.wm.yigongfang.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wm.yigongfang.common.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (Admin)实体类
 *
 * @author lijiacheng
 * @since 2021-04-21 10:31:13
 */
@TableName("admin")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Admin extends BaseEntity<Admin> {

  private String account;

  private String password;

  private String name;

  private String slat;

  private String phone;

  private String avatar;

  /**
   * 权限模块
   */
  private String models;

  /**
   * 角色：1-超级管理员；2-子管理员；3-工作人员
   */
  private Integer role;

}
